package com.grad.why.studentsystem.mapper;

import com.grad.why.studentsystem.domain.Indexweights;
import com.grad.why.studentsystem.domain.IndexweightsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IndexweightsMapper {
    int countByExample(IndexweightsExample example);

    int deleteByExample(IndexweightsExample example);

    int deleteByPrimaryKey(Long indexparamid);

    int insert(Indexweights record);

    int insertSelective(Indexweights record);

    List<Indexweights> selectByExample(IndexweightsExample example);

    Indexweights selectByPrimaryKey(Long indexparamid);

    int updateByExampleSelective(@Param("record") Indexweights record, @Param("example") IndexweightsExample example);

    int updateByExample(@Param("record") Indexweights record, @Param("example") IndexweightsExample example);

    int updateByPrimaryKeySelective(Indexweights record);

    int updateByPrimaryKey(Indexweights record);

    List<Indexweights> getIndexWeightByProjectId(@Param("projectid") int projectid);
}